<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class vacinity_events_handler
{
           private $html_buillder;
       private $dbtables_handler;
    public function  __construct() {

$this->html_buillder = new html_elements_builder();
$this->dbtables_handler = new database_tables_handler();

    }

    public function getVacinityEvents($userLat,$userLong)
    {
        $vacinityEventsArray = $this->dbtables_handler->getVacinityEvents($userLat,$userLong);
        $vacinityEventsJSON = json_encode($vacinityEventsArray);
        return $vacinityEventsJSON;
    }


}
?>
